package com.jamlu.framework.album;

import java.util.List;

/**
 * Created by Lin on 2017/7/28.
 * 相册实体类
 */

public class FolderInfo {

    //文件夹名字
    private String folder;
    //文件的个数
    private int size;
    //默认相册的封面(通常是最后一张)
    private String path;
    //包含的所有图片
    private List<ImageInfo> imageInfos;

    //上次的修改时间
    private long lastModified = -1;

    public String getFolder() {
        return folder;
    }

    public void setFolder(String folder) {
        this.folder = folder;
    }

    public int getSize() {
        return size;
    }

    public void setSize(int size) {
        this.size = size;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public List<ImageInfo> getImageInfos() {
        return imageInfos;
    }

    public void setImageInfos(List<ImageInfo> imageInfos) {
        this.imageInfos = imageInfos;
    }

    public long getLastModified() {
        return lastModified;
    }

    public void setLastModified(long lastModified) {
        this.lastModified = lastModified;
    }

    @Override
    public String toString() {
        return "FolderInfo{" +
                "folder='" + folder + '\'' +
                ", size=" + size +
                ", path='" + path + '\'' +
                ", imageInfos Size=" + imageInfos.size() +
                '}';
    }
}
